/*样式：
* 文字
* 文字*/
import 'package:flutter/cupertino.dart';
import 'package:frametrim/utility/sq_color.dart';

class TwoTextView extends StatelessWidget {
  late Alignment aligment;
  late String text1;
  late String text2;

  TwoTextView(
      {Key? key,
      this.aligment = Alignment.centerLeft,
      required this.text1,
      required this.text2});

  @override
  Widget build(BuildContext context) {
    return Container(
      alignment: aligment,
      child: Column(
        crossAxisAlignment: CrossAxisAlignment.start,
        children: [
          Text(text1,
              style: TextStyle(fontSize: 18, color: SQColor.color_90black)),
          SizedBox(height: 5),
          Text(text2,
              style: TextStyle(fontSize: 12, color: SQColor.color_60black)),
        ],
      ),
    );
  }
}
